#ifndef MYSQLLINK_H
#define MYSQLLINK_H

#include <QThread>
#include <QtSql>
#include <QString>
#include <QDebug>
#include <QLatin1String>
#include <QMessageBox>
#include <QSqlDatabase>
#include "systemfile.h"
class MysqlLink : public QThread
{
    Q_OBJECT
public:
    explicit MysqlLink(QObject *parent = 0);
    QSqlDatabase mySql_db;
    QString   ip,user,password,dateBaseName,db_port;
protected:
    void run();
signals:
public slots:
    void read_ini();
};

#endif // MYSQLLINK_H
